if(ESP_PLATFORM)

file(GLOB_RECURSE SOURCES   
    ./BreathingLigth/*.c 
    ./MPU6050/*.c
)

idf_component_register(SRCS ${SOURCES}
                        INCLUDE_DIRS . 
                        ./BreathingLigth
                        ./MPU6050
                        REQUIRES main)

else()
    message(FATAL_ERROR "LVGL LV examples: ESP_PLATFORM is not defined. Try reinstalling ESP-IDF.")
endif()

